import json


def build_data(file_path):
    '''
    读取json文件
    :param file_path:文件路径
    :return:返回数据  new_list=[(),(),()]
    '''
    with open(file_path ,'r',encoding='utf-8') as f:
        data=json.load(f)
        new_list=[]
        for i in data:
            new_list.append(tuple(i.values()))
        return new_list
# if __name__ == '__main__':
#     data1=build_data('../data/add_emp_data.json')
#     print(data1)